package com.njit.farm.dao;

import com.njit.farm.dataobject.FGoods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FGoodsMapper {
    int deleteByPrimaryKey(String gId);

    int insert(FGoods record);

    FGoods selectByPrimaryKey(String gId);

    List<FGoods> selectByUserId(String uId);

    List<FGoods> selectAll();


    int updateByPrimaryKey(FGoods record);
}